package com.sdhs.util.daoru;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdhs.common.annotation.Excel;
import com.sdhs.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 导入历史项目
 *
 * @author andong
 * @date 2025-03-12
 */
@Data
public class importData extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 关联项目id
     */
    @Excel(name = "关联项目id")
    private Long projectId;

    /**
     * 合同节点
     */
    @Excel(name = "合同节点")
    private String contractNode;

    /** 传过来的合同id */
    @Excel(name = "合同ID")
    private String contractId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 项目编号 */
    @Excel(name = "项目编码")
    private String projectNumber;

    /** 项目状态     */
    @Excel(name = "项目状态")
    private String projectStatus;

    /** 合同编号 */
    @Excel(name = "合同编码")
    private String num;

    /** 合同名称 */
    @Excel(name = "合同名称")
    private String name;

    /** 合同大类 */
    @Excel(name = "合同业务类型")
    private String mainType;

    /** 收支类型 */
    @Excel(name = "合同收支类型")
    private String incomeExpenseType;

    @Excel(name = "项目经理")
    private String manager;

    @Excel(name = "合同负责人")
    private String contractManager;

    /** 合同归属单位Id */
    @Excel(name = "我方签约单位")
    private String companyName;

    /** 合同归属单位Id */
    @Excel(name = "我方签约单位IAM_ID")
    private String companyId;

    /** 客商编码 */
    @Excel(name = "签约对方单位CODE")
    private String participantsCode;

    /** 客商名称 */
    @Excel(name = "签约对方单位")
    private String participantsName;


    /** 合同金额(含税),元 */
    @Excel(name = "合同总金额(含税）")
    private BigDecimal money;

    /** 变更后总金额(含税),元 */
    @Excel(name = "合同总金额（不含税）")
    private BigDecimal notMoney;

    /** 变更后总金额(含税),元 */
    @Excel(name = "合同变更后总金额（含税）")
    private BigDecimal changeMoney;

    @Excel(name = "合同变更后总金额（不含税）")
    private BigDecimal notChangeMoney;

    @Excel(name = "税率")
    private String taxRate;

    @Excel(name = "税额")
    private BigDecimal taxAmount;

    /** 签订日期 */
    @Excel(name = "合同签订日期", dateFormat = "yyyy-MM-dd")
    private String signDate;

    /** 是否补充合同;1:是;0:否 */
    @Excel(name = "是否补充合同")
    private String isSupplementaryContract;

    /** 主合同编号 */
    @Excel(name = "补充合同所属原合同主数据编码")
    private String originalContractNum;

    @Excel(name = "已开票金额（含税）")
    private BigDecimal invoicedAmount;



    @Excel(name = "已开票金额（不含税）")
    private BigDecimal notInvoicedAmount;


    @Excel(name = "已开票比例")
    private BigDecimal proportionInvoicedMounts;


    @Excel(name = "未开发票金额（含税）")
    private BigDecimal uninvoicedAmount;

    @Excel(name = "未开发票比例")
    private BigDecimal proportionUnissuedInvoices;

    @Excel(name = "收入确认金额（含税）")
    private BigDecimal amountRevenueRecognized;


    @Excel(name = "收入确认金额（不含税）")
    private BigDecimal notAmountRevenueRecognized;

    @Excel(name = "收入确认比例")
    private BigDecimal revenueRecognitionRatio;

    @Excel(name = "已回款金额")
    private BigDecimal amountAlreadyReceived;

    @Excel(name = "已回款比例")
    private BigDecimal proportionPaymentsReceived;

    @Excel(name = "应收账款")
    private BigDecimal accountsReceivable;

    @Excel(name = "合同资产")
    private BigDecimal contractAssets;

    @Excel(name = "成本确认金额（含税）")
    private BigDecimal costConfirmationAmount;

    @Excel(name = "成本确认金额（不含税）")
    private BigDecimal notCostConfirmationAmount;

    @Excel(name = "成本确认比例")
    private BigDecimal costConfirmationRatio;

    @Excel(name = "已付款金额")
    private BigDecimal amountPaid;

    @Excel(name = "已付款比例")
    private BigDecimal percentagePaymentRatio;

    @Excel(name = "应付账款")
    private BigDecimal accountsPayable;
}
